home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / ShoveIt Deluxe™ by wsanchez / DropScript Source / DropController.h < prev    next >
Encoding:
Text File  |  2000-06-23  |  1.3 KB  |  49 lines

  1. /*
  2.  * DropController.h
  3.  *
  4.  * Wilfredo Sanchez | wsanchez@apple.com
  5.  * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  6.  *
  7.  * @APPLE_LICENSE_HEADER_START@
  8.  * 
  9.  * The contents of this file constitute Original Code as defined in and
  10.  * are subject to the Apple Public Source License Version 1.1 (the
  11.  * "License").  You may not use this file except in compliance with the
  12.  * License.  Please obtain a copy of the License at
  13.  * http://www.apple.com/publicsource and read it before using this file.
  14.  * 
  15.  * This Original Code and all software distributed under the License are
  16.  * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  17.  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  18.  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  19.  * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
  20.  * License for the specific language governing rights and limitations
  21.  * under the License.
  22.  * 
  23.  * @APPLE_LICENSE_HEADER_END@
  24.  */
  25.  
  26. #import <Foundation/NSObject.h>
  27.  
  28. @class NSString;
  29.  
  30. @interface DropController : NSObject
  31.  
  32. /* iVars */
  33. {
  34. @private
  35.     BOOL      myAppIsLaunching;
  36.     BOOL      myAppWasLaunchedWithDocument;
  37.     NSString* myScriptFileName;
  38. }
  39.  
  40. /* Actions */
  41.  
  42. - (void) runScriptWithFiles: (NSArray*) aFileList;
  43.  
  44. /* IB Targets */
  45.  
  46. - (IBAction) open: (id) aSender;
  47.  
  48. @end
  49.